public class Assignment7_2List {
    private final Account acct;
    
    public Assignment7_2List(ApexPages.StandardSetController controller ){
        acct = (Account) controller.getRecord();
    }

    public ApexPages.StandardSetController setCon {        
        get{            
            String billingCity = ApexPages.currentPage().getParameters().get('sec0:sec2:sec3:bc');
            String billingState = ApexPages.currentPage().getParameters().get('sec0:sec2:sec3:bs');
            String billingCountry = ApexPages.currentPage().getParameters().get('sec0:sec2:sec3:bcon');
            System.debug(logginglevel.INFO, '_____billingCity  = ' + billingCity + '   billingState = ' + billingState + '   billingCountry =   ' + billingCountry );
            List<Account> lstAcc = new List<account>([select id, name, BillingCity, BillingState, BillingCountry from Account where BillingCity like :billingCity ]);
            system.debug(logginglevel.INFO , '***********Size'+lstAcc.Size());
            setCon = new ApexPages.StandardSetController(Database.getQueryLocator([select id, name, BillingCity, BillingState, BillingCountry from Account where BillingCity like :billingCity AND BillingState like :billingState AND BillingCountry like :billingCountry limit 100 ]));
           
            for(sObject ac : setCon.getRecords()) {
                System.debug(logginglevel.INFO, '_____setCon = ' + ac.id );
            }
            return setCon;
        }
        set;
    }
    
    public PageReference abc() {
        //getFilteredAccounts();
        return null;
    }
     
    public List<Account> getFilteredAccounts(){
        return (List<Account>) setCon.getRecords();
    }
}